package cn.pupil.design.impl;

import cn.pupil.design.Role;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Map;

/**
 * @Description: 校长，功能没有具体实现
 * @Author: pupil
 * @Date: 2024/06/26 下午 11:30
 */
public class Principal implements Role {

    private Logger logger = LoggerFactory.getLogger(Principal.class);

    @Override
    public String scoreInquiry(long userId) {
        logger.info("学生{}：成绩是....",userId);
        return null;
    }

    @Override
    public void gradeUpload(long userId, Map<String, Double> grades) {
        // 无法实现该功能
    }

    @Override
    public void teacherManagement(long teacherId) {
        logger.info("教师{}: 进行管理",teacherId);
    }
}
